From daccb5dbad7421e2b717c8ce6f0328dcb350f92b Mon Sep 17 00:00:00 2001 From: Daniel Sabo Date: Mon, 29 Apr 2013 19:43:41 -0700 Subject: [PATCH] Show the details of the fish that caused a failure --- tests/common.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/common.inc b/tests/common.inc index 8d573fd..501644a 100644 --- a/tests/common.inc +++ b/tests/common.inc @@ -1,4 +1,6 @@ +#include "babl/babl-introspect.h" + #define CHECK_CONV(test_name, componenttype, src_fmt, dst_fmt, src_pix, expected_pix) \ { \ const Babl *fish; \ @@ -19,6 +21,7 @@ { \ printf (" %s failed #%i[%i] got %i expected %i\n", test_name, i, c, result[c], expected_pix[i][c]); \ OK = 0; \ + babl_introspect((Babl *)fish); \ } \ } \ } -- 2.30.2